<?php

namespace app\commands;


use app\models\Eyny;
use yii\console\Controller;
use yii\console\ExitCode;

class PostMetaController extends Controller {

    public function actionIndex() {
        $where = ['<>', 'streamcherry_url', ''];
        $models = Eyny::find()->where($where)->asArray()->all();
        print_r(count($models));
        return ExitCode::OK;
    }
}